<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta name="renderer" content="webkit"> 
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> -->
		<!-- <meta name="viewport" content="width=1020"> -->
		<meta name="viewport" content="width=device-width,initial-scale=0.1,minimum-scale=0.1,maximum-scale=1,user-scalable=yes" />
		<link rel="icon" href="<%= BASE_URL %>favicon.ico">
		<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
		<link rel="stylesheet" type="text/css" href="./css/jqueryui_index.css"/>
		<!-- <script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=SiEAmB39HjQ0FgSUORSG4bFiiXhqpIvw"></script> -->
		<!-- <script src="https://unpkg.com/vue-baidu-map"></script> -->
		<!-- <script src="./jQuery.js" type="text/javascript" charset="utf-8"></script> -->
		<title>
			<%= htmlWebpackPlugin.options.title %>
		</title>
	</head>
	<body onbeforeunload="return refreshOrClose()"  >
		<noscript>
			<strong>We're sorry but
				<%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to
				continue.</strong>
		</noscript>
		<div id="app" style="transform-origin: 50% 0%;"></div>
		<!-- <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
		<script type="text/javascript"> 
			window.cityData = returnCitySN
			console.log(cityData)
		</script> -->
		<script type="text/javascript">
			// alert(window.innerWidth)
			calculate()
			window.onresize = function() {
				calculate()
			}
			function refreshOrClose(){
				// alert("关闭WebSocket")
				// return '关闭WebSocket'
				webSocket.webSocketClose()
			}
			function calculate() {
				var wW = window.innerWidth; // 当前窗口的宽度
				// var wH = window.innerHeight; // 当前窗口的高度
				var whdef = 10 / 1920; // 表示1920的设计图,使用100PX的默认值,使用100px只是为了方便计算 其他值都可以
				var rem = wW * whdef; // 以默认比例值乘以当前窗口宽度,得到该宽度下的相应FONT-SIZE值
				document.getElementsByTagName("html")[0].style.fontSize = rem + 'px'
				// console.log(rem)
			}
		</script>
		<!-- <script type="text/javascript">
			window.onload = function(){
				// 创建地图实例 
				function myFun(result){
					var cityName = result.name;
					// map.setCenter(cityName);
					var map = new BMapGL.Map("container");
					var point = new BMapGL.Point(result.center.lng, result.center.lat);
					map.centerAndZoom(point,15);
					var marker = new BMapGL.Marker(point);        // 创建标注    
					map.addOverlay(marker);
				}
				var myCity = new BMapGL.LocalCity();
				myCity.get(myFun); 
				
			}
			
			// 初始化地图，设置中心点坐标和地图级别 
		</script> -->
		<!-- built files will be auto injected -->
		<!-- <script type="text/javascript">
		setTimeout(()=>{
			document.getElementsByTagName('title')[0].innerHTML = '后台管理系统' + this.router.history.current.meta.title?this.router.history.current.meta.title:'';
		},500)
	</script> -->
	
	</body>
</html>
